<html xmlns:th="http://www.thymeleaf.org">
<head>
    <!--<meta content="text/html;charset=UTF-8"/>-->
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
</head>
<head th:include="include/include"></head>
<style>
    #sidebar{
        background-color: #a6e1ec;
        height: 100%;
    }
    #main-container{
        margin-top: 50px;
    }
</style>
<body>

<div style="width: 100%">
    <!--顶部栏-->
    <!--nav-->
    <nav class="navbar navbar-default navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <a href="#" class="navbar-brand">
                    理赔管理系统</a>
                <button type="button" class="navbar-toggle"
                        data-toggle="collapse" data-target="#navbar-collapse">
                    <span class="sr-only">切换导航</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <!--不会随着窗口的大小让li标签内容下来  -->
            <div class="collapse navbar-collapse" id="navbar-collapse">
                <ul class="nav navbar-nav navbar-right" style="margin-top: 0;">
                    <li class=""><a href="#"><span class="glyphicon glyphicon-user"> lilii</span></a></li>
                </ul>
            </div>
        </div>
    </nav>
    <!--nav结束-->

    <div id="main-container">
        <!-- 左侧菜单栏 -->
        <div id="sidebar" class="col-md-2 column">
            <!-- 创建菜单树 -->
            <div class="col-md-12">
                <ul id="main-nav" class="nav nav-tabs nav-stacked" style="">
                    <li>
                        <a href="#systemSetting" class="nav-header collapsed" data-toggle="collapse">
                            <i class="glyphicon glyphicon-cog"></i>index
                            <span class="pull-right glyphicon glyphicon-chevron-down"></span>
                        </a>
                        <ul id="systemSetting" class="nav nav-list collapse secondmenu" style="height: 0px;">
                            <li><a href="#" onclick="menuClick('${base}toViewInfo?id=${s.id}')"><i class="glyphicon glyphicon-user"></i>aaa</a></li>
                            <li><a href="#" onclick="menuClick('${base}toTestList')"><i class="glyphicon glyphicon-th-list"></i>bbb</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#systemSetting1" class="nav-header collapsed" data-toggle="collapse">
                            <i class="glyphicon glyphicon-cog"></i>index1
                            <span class="pull-right glyphicon glyphicon-chevron-down"></span>
                        </a>
                        <ul id="systemSetting1" class="nav nav-list collapse secondmenu" style="height: 0px;">
                            <li><a href="#"><i class="glyphicon glyphicon-asterisk"></i>ccc</a></li>
                            <li><a href="#"><i class="glyphicon glyphicon-edit"></i>ddd</a></li>
                            <li><a href="#"><i class="glyphicon glyphicon-eye-open"></i>eee</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
        <!--右边内容区域开始-->
        <div class="col-md-10 column">
            <div class="breadcrumbs" id="breadcrumbs">
                <!-- 面包屑导航 -->
                <ul class="breadcrumb">
                    <li><a href="${base}toLoginIndex">Home</a></li>
                    <li class="active">Dashboard</li>
                </ul>
            </div>
            <!-- 内容展示页 -->
            <div>
                <iframe id="iframe-page-content" src="mymain" width="100%"  frameborder="no" border="0" marginwidth="0"
                        marginheight=" 0" scrolling="no" allowtransparency="yes"></iframe>
            </div>
        </div>
    </div>
       <!--右边内容区域结束->
    </div><!-- /.main-container -->
</div>
</body>
<script>
    function menuClick(s) {
        $("#iframe-page-content").attr("src","main");
        
    }


</script>
</html>